package com.xhu.water_supply.entity;

import lombok.Builder;
import java.util.Date;
import javax.persistence.*;
@Builder
@Table(name="`order`")
public class Order {
    @Id
    private Integer no;

    @Column(name = "work_id")
    private Integer workId;

    private String date;

    @Column(name = "customer_id")
    private Integer customerId;

    private Byte num;

    public Order(int no, int workId, String date, int customerId, int num) {
    }

    public Order() {

    }
    /**
     * @return no
     */
    public Integer getNo() {
        return no;
    }

    /**
     * @param no
     */
    public void setNo(Integer no) {
        this.no = no;
    }

    /**
     * @return work_id
     */
    public Integer getWorkId() {
        return workId;
    }

    /**
     * @param workId
     */
    public void setWorkId(Integer workId) {
        this.workId = workId;
    }

    /**
     * @return date
     */
    public String getDate() {
        return date;
    }

    /**
     * @param date
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * @return customer_id
     */
    public Integer getCustomerId() {
        return customerId;
    }

    /**
     * @param customerId
     */
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    /**
     * @return num
     */
    public Byte getNum() {
        return num;
    }

    /**
     * @param num
     */
    public void setNum(Byte num) {
        this.num = num;
    }
}